<%@page language="java" pageEncoding="UTF-8"%>
<%@include file="/views/common/include/taglib.jsp"%>
<link type="text/css" rel="stylesheet"
	href="${ctx }/css/dlifestyle/sectionparent.css" source="widget" />
<link type="text/css" rel="stylesheet"
	href="${ctx }/css/dlifestyle/admin.css" source="widget" />
<section>
	<div style="height: 40px; line-height: 40px;">
		<div class="forword_area"></div>
		<div class="location">当前位置：${sessionScope.currcent_position}</div>
	</div>
	<hr>
	<div class="panel panel-default" style="height:auto">
		<div class="editTitle">
			<div style="height: 41px; width: 190px; float: left;">
				<img style="float: left; margin-left: 37px; margin-top: 9.5px;"
					src="${ctx}/images/new_edit.png" />
				<h4>缴费信息详情</h4>
			</div>
			<div>
				<a style="float: right; margin-right: 20px; margin-top: -2px;"
					title="关闭" onclick="cancel('${type}','${house.id}');"><img
					src="${ctx}/images/new_close.png" /></a>
			</div>
		</div>
		<!-- 账单详情 -->
		<div id="replyList" class="right"
			style="height: 500px; margin-top: -10px;">
			<div class="modal-header">
				<div id="form" class="form"
					style="min-height: 50px; margin-top: 10px; border-top: 1px solid #edeef3; font-size: 14px;">
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">房间信息：</span>
						<div class="fldetail-4l">${house.cellName}${house.regionName}${house.buildingName}${house.unitName}${house.name}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">账单号：</span>
						<div class="fldetail-4r">${detail.billId}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">开始时间：</span>
						<div class="fldetail-4l">
							<fmt:formatDate value="${detail.startDate}"
								pattern="yyyy-MM-dd HH:mm" />
						</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">结束时间：</span>
						<div class="fldetail-4r">
							<fmt:formatDate value="${detail.endDate}"
								pattern="yyyy-MM-dd HH:mm" />
						</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">月数：</span>
						<div class="fldetail-4l">${detail.month}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">面积：</span>
						<div class="fldetail-4r">${detail.area}</div>
					</div>

					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">单价：</span>
						<div class="fldetail-4l">${detail.unitPrice}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">倍率：</span>
						<div class="fldetail-4r">${detail.rate}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">金额：</span>
						<div class="fldetail-4l">${detail.money}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">缴费状态：</span>
						<div class="fldetail-4r">
							<c:if test="${detail.state == 0}">缴费成功</c:if>
							<c:if test="${detail.state == 1}">欠费</c:if>
							<c:if test="${detail.state == 3}">预交费</c:if>
						</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">缴费方式：</span>
						<div class="fldetail-4l">
							<c:forEach items="${payWays }" var="item">
								<c:if test="${item.value == info.payWay}">
		                       			${item.label}
		                       		</c:if>
							</c:forEach>
						</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">生成方式：</span>
						<div class="fldetail-4r">
							<c:if test="${detail.generateWay == 0}">初始化生成</c:if>
							<c:if test="${detail.generateWay == 1}">定时任务生成</c:if>
							<c:if test="${detail.generateWay == 2}">后台导入生成</c:if>
							<c:if test="${detail.generateWay == 3}">预交费</c:if>
						</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">操作人：</span>
						<div class="fldetail-4l">${detail.operator}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">操作人类型：</span>
						<div class="fldetail-4r">
							<c:if test="${detail.operatorType == 0}">物业</c:if>
							<c:if test="${detail.operatorType == 1}">业主</c:if>
						</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">支付机构订单号：</span>
						<div class="fldetail-4l">${detail.externalTradeNo}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">支付机构返回码：</span>
						<div class="fldetail-4r">${detail.externalRespCode}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">支付机构返回价格：</span>
						<div class="fldetail-4l">${detail.totalFee}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">收款账号：</span>
						<div class="fldetail-4r">${detail.collectAccount}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">发票类型
							：</span>
						<div class="fldetail-4l">${detail.billType}
							<c:if test="${detail.billType == 0}">不需要</c:if>
							<c:if test="${detail.billType == 1}">个人</c:if>
							<c:if test="${detail.billType == 2}">单位</c:if>
						</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">发票抬头：</span>
						<div class="fldetail-4r">${detail.billTitle}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">发票票号：</span>
						<div class="fldetail-4l">${detail.billNo}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">支付时间：</span>
						<div class="fldetail-4r">
							<fmt:formatDate value="${detail.payTime}"
								pattern="yyyy-MM-dd HH:mm" />
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="editTitle">
			<div style="height: 41px; width: 190px; float: left;">
				<img style="float: left; margin-left: 37px; margin-top: 9.5px;"
					src="${ctx}/images/new_edit.png" />
				<h4>业主信息详情</h4>
			</div>
			<div>
				<a style="float: right; margin-right: 20px; margin-top: -2px;"
					title="关闭" onclick="cancel('${type}','${house.id}');"><img
					src="${ctx}/images/new_close.png" /></a>
			</div>
		</div>
		<!-- 业主房屋信息 -->
		<div id="replyList" class="right"
			style="height: 500px; margin-top: -10px;">
			<div class="modal-header">

				<div id="form" class="form"
					style="min-height: 50px; margin-top: 10px; border-top: 1px solid #edeef3; font-size: 14px;">
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">小区名称：</span>
						<div class="fldetail-4l">${cellHouse.cellName}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">区域名称：</span>
						<div class="fldetail-4r">${cellHouse.regionName}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">楼栋名称：</span>
						<div class="fldetail-4l">${cellHouse.buildingName}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">单元名称：</span>
						<div class="fldetail-4r">${cellHouse.unitName}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">房屋名称：</span>
						<div class="fldetail-4l">${cellHouse.name}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">房屋类型：</span>
						<c:if test="${cellHouse.houseType == 0}">
							<div class="fldetail-4r">其他</div>
						</c:if>
						<c:if test="${cellHouse.houseType == 1}">
							<div class="fldetail-4r">住宅</div>
						</c:if>
						<c:if test="${cellHouse.houseType == 2}">
							<div class="fldetail-4r">公寓</div>
						</c:if>
						<c:if test="${cellHouse.houseType == 3}">
							<div class="fldetail-4r">办公</div>
						</c:if>
						<c:if test="${cellHouse.houseType == 4}">
							<div class="fldetail-4r">门面</div>
						</c:if>
					</div>

					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">房屋状态：</span>
						<c:if test="${cellHouse.houseState == 0}">
							<div class="fldetail-4l">空置</div>
						</c:if>
						<c:if test="${cellHouse.houseState == 1}">
							<div class="fldetail-4l">入住</div>
						</c:if>
						<c:if test="${cellHouse.houseState == 2}">
							<div class="fldetail-4l">未售</div>
						</c:if>
						<c:if test="${cellHouse.houseState == 3}">
							<div class="fldetail-4l">未交房</div>
						</c:if>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">面积：</span>
						<div class="fldetail-4r">${cellHouse.area}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">户主1：</span>
						<div class="fldetail-4l">${cellHouse.ownerName1}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">户主1电话：</span>
						<div class="fldetail-4r">${cellHouse.ownerPhone1}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">户主2：</span>
						<div class="fldetail-4l">${cellHouse.ownerName2}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">户主2电话：</span>
						<div class="fldetail-4r">${cellHouse.ownerPhone2}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">物业费单价：</span>
						<div class="fldetail-4l">${cellHouse.perPrice}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">发布人账号：</span>
						<div class="fldetail-4r">${cellHouse.userAccount}</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">发送时间：</span>
						<div class="fldetail-4l">
							<fmt:formatDate value="${cellHouse.sendTime}"
								pattern="yyyy-MM-dd HH:mm" />
						</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">修改时间：</span>
						<div class="fldetail-4r">
							<fmt:formatDate value="${cellHouse.updateTime}"
								pattern="yyyy-MM-dd HH:mm" />
						</div>
					</div>
					<div class="itemEdit" style="border-bottom: 1px solid #CBD5DD;">
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;">备注：</span>
						<div class="fldetail-4l">${cellHouse.memo}</div>
						<span class="col-sm-1 editlableDetail" style="font-size: 14px;"></span>
						<div class="fldetail-4r"></div>
					</div>
				</div>
				<div style="text-align: center;">
					<button style="margin-top: 20px;" class="buttonCancle"
						onclick="cancel('${type}','${house.id}');">返&nbsp;&nbsp;回</button>
				</div>
			</div>
		</div>
	</div>
	<%@include file="/views/common/footer.jsp"%>
</section>
<script
	src="${ctx}/js/controllers/property/feebilldetail/FeeBillDetailListController.js"
	type="text/javascript">
	</script>
<script type="text/javascript">
		var ctx = '${ctx}';
		setCtx(ctx);
	</script>
